<#ftl output_format="HTML" auto_esc=true> <@h.commonHead title="后台管理系统" keywords="开源,永久免费"
description="springrain开源系统管理后台"/>
</head>
	<div class="layui-layout layui-layout-admin">
		<@h.naviHeader /> <@h.leftMenu />
		<!-- 主体内容开始 -->
			<!-- /.page-header -->
		<div class="layui-tab layui-tab-brief">
				<ul class="layui-tab-title site-demo-title">
		              <li style="float:right;">
		             	<@shiro.hasPermission name="${ctx}/system/fwlog/export" >
				        	<button type="button" class="layui-btn layui-btn-small"><i class="layui-icon layui-icon-specil">&#xe609;</i>导出</button>
				        </@shiro.hasPermission>
		                <@shiro.hasPermission name="${ctx}/system/fwlog/delete" >
		               		 <button type="button" class="layui-btn layui-btn-danger layui-btn-small"><i class="layui-icon">&#xe640;</i>批量删除</button>
		                </@shiro.hasPermission>
		             </li>
		        </ul>
				<div class="layui-body layui-tab-content site-demo-body">
						<div class="layui-tab-item layui-show">
							<div class="layui-main">
										<form class="layui-form layui-form-pane" name="searchForm" method="post" id="searchForm" action="${ctx}/system/fwlog/list" role="form">
											<input type="hidden" name="pageIndex" id="pageIndex" value="${(returnDatas.page.pageIndex)!'1'}" /> 
											<input type="hidden" name="sort" id="page_sort" value="${(returnDatas.page.sort)!'desc'}" /> 
											<input type="hidden" name="order" id="page_order" value="${(returnDatas.page.order)!'createTime'}" />
											<table class="layui-table">
									          	<tbody>
									          		<tr>
									          			<th>访问日志搜索</th>
									          		</tr>
									          		<tr>
									          			<td>
									          				<div class="layui-inline">
													    		<label class="layui-form-label">用户</label>
															    <div class="layui-input-inline">
															      	<input type="text" name="userCode" id="search_title" placeholder="用户" value="${(returnDatas.queryBean.userCode)!''}" class="layui-input">
															    </div>
														  	</div>
											                <div class="layui-inline">
														      	<button class="layui-btn" id="searchBtn" onclick="springrain.commonSubmit('searchForm');">查询</button>
														  	</div>
									          			</td>
									          		</tr>
									          	</tbody>
							          		</table>
										</form>
										<table class="layui-table">
										 	<colgroup>
									    		<col width="">
										    	<col width="">
										    	<col width="">
										    	<col width="">
										    	<col>
									  		</colgroup>
									  		<thead>
										  		<tr>
											  		<th colspan="5">访问日志列表<font id='recordsView' class='recorsView'>共<span></span>页 ,共<span></span>条记录</font></th>
											  	</tr>
												<tr>
													<!--first_start_no_export-->
				
													<!--first_end_no_export-->
													<th id="th_userCode">用户</th>
													<th id="th_userName">中文名</th>
													<th id="th_strDate">时间</th>
				
													<th id="th_menuName">菜单名称</th>
													<th id="th_fwUrl">访问URL</th>
				
												</tr>
											</thead>
											<!--first_end_export-->
				
											<!--start_export-->
											<tbody>
												<#if (returnDatas.data??)&&(returnDatas.data?size>0)> <#list
												returnDatas.data as _data>
												<!--start_no_export-->
												<tr class="">
				
													<!--end_no_export-->
													<td>${(_data.userCode)!''}</td>
													<td>${(_data.userName)!''}</td>
													<td>
														<!--日期型--> ${(_data.strDate)!''}
													</td>
				
													<td>${(_data.menuName)!""}</td>
													<td>${(_data.fwUrl)!''}</td>
												</tr>
												</#list> </#if>
											</tbody>
										</table>
										<div id="laypageDiv"></div>
										<@h.layPage page=returnDatas.page/>
						</div>
					</div>
				</div>
			<!-- 主体内容结束 -->
			<@h.footer />
		</div>
</body>
</html>

